#ifndef CHECKTABLE_H
#define CHECKTABLE_H

#include <QWidget>
#include "paginator.h"
namespace Ui {
class CheckTable;
}

class CheckTable : public QWidget
{
    Q_OBJECT

public:
    explicit CheckTable(QWidget *parent = nullptr);
    ~CheckTable();

private:
    // 获取视频列表
    void getVideoList(int page);

    void resetPaginator(int pageCount);

private slots:
    void onRestBtnClicked();
    void onQueryBtnClicked();
    // 获取用户视频列表成功
    void updateCheckTable(const QString& userId, const QString whichPage);

private:
    Ui::CheckTable *ui;
    Paginator* paginator = nullptr;
    int page = 1;
};

#endif // CHECKTABLE_H
